/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bsd5ex.group1.kaokang.dao;

import com.bsd5ex.group1.kaokang.config.TableNameConstants;
import com.bsd5ex.group1.kaokang.model.FoodSeason;
import java.util.List;

/**
 *
 * @author VAIO
 */
public class FoodSeasonDAO extends AbstractDAO<FoodSeason> {

    public static void main(String[] args) {
        FoodSeasonDAO dao = new FoodSeasonDAO();
        
        System.out.println(dao.getEntityName());
        
        List<FoodSeason> list = dao.listAll();
        
        for (FoodSeason foodSeason : list) {
            System.out.println(foodSeason.getFoodSeasonName());
        }
    }
    
}
